package com.gray.blog.arg;

import com.gray.blog.common.arg.BaseArg;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * Created  By zhoux 2019/01/09
 **/
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class LoginArg extends BaseArg{

    @ApiModelProperty(value = "用户名")
    @NotNull
    private String userName;

    @ApiModelProperty(value = "密码")
    @NotNull
    private String password;

}
